package com.pkk.alert.entity.feige;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

@ApiModel(value = "com.pkk.alert.entity.feige.FeigeTemplate")
@Data
@TableName(value = "feige_template")
public class FeigeTemplate implements Serializable {

  /**
   * 主键id
   */
  @TableId(value = "id", type = IdType.AUTO)
  @ApiModelProperty(value = "主键id")
  private Long id;

  /**
   * 模板序号
   */
  @TableField(value = "template_seq")
  @ApiModelProperty(value = "模板序号")
  private Long templateSeq;

  /**
   * 模板id
   */
  @TableField(value = "template_id")
  @ApiModelProperty(value = "模板id")
  private String templateId;

  /**
   * 模板名称
   */
  @TableField(value = "template_name")
  @ApiModelProperty(value = "模板名称")
  private String templateName;

  /**
   * 模板示例
   */
  @TableField(value = "template_content")
  @ApiModelProperty(value = "模板示例")
  private String templateContent;


  @TableField(value = "statis")
  @ApiModelProperty(value = "模板是否启用(1:启用,0:弃用)")
  private Integer statis;


  private static final long serialVersionUID = 1L;

  public static final String COL_TEMPLATE_SEQ = "template_seq";

  public static final String COL_TEMPLATE_ID = "template_id";

  public static final String COL_TEMPLATE_NAME = "template_name";

  public static final String COL_TEMPLATE_CONTENT = "template_content";
}